<template>
  <div>
    <el-card class="box-card">
      <div slot="header" class="clearfix login-header">
        <span>登录</span>
      </div>
      <div class="text item">
       <div>
          <el-input placeholder="请输入账号" v-model="input1">
            <template slot="prepend">账号：</template>
          </el-input>
        </div>
        <div>
          <el-input placeholder="请输入密码" v-model="input1">
            <template slot="prepend">密码：</template>
          </el-input>
        </div>
      </div>
    </el-card>
  </div>
</template>

<script>
export default {

}
</script>

<style>
/* 卡片 */
  .text {
    font-size: 14px;
  }

  .item {
    margin-bottom: 18px;
  }

  .login-header {
    /* background: #B2EBF2; */
    font-size: 22px;
    font-weight: 550;
    color: #333;
    text-align: center;
    letter-spacing: 1em;;
  }

  .clearfix:before,
  .clearfix:after {
    display: table;
    content: "";
  }
  .clearfix:after {
    clear: both
  }

  .box-card {
    width: 480px;
    margin:50px auto;
  }

  /* 输入框 */
  .el-select .el-input {
    width: 130px;
  }
  .input-with-select .el-input-group__prepend {
    background-color: #fff;
  }
</style>
